package com.xinjie.coursesystem.pojo;

/**
 * @Description: 学生 （学号、姓名、性别、年龄、账号、密码、所选课程）
 * @author: xinjie.txt
 * @date: 2020/7/22  9:15
 */

/**
 * stuId -- 学号
 * stuName -- 姓名
 * stuGender -- 性别
 * stuAge -- 年龄
 * stuAccount -- 账号
 * stuPassword -- 密码
 * course -- 选课
 */
public class Student {
	private String stuId;
	private String stuName;
	private String stuGender;
	private int stuAge;
	private String stuAccount;
	private String stuPassword;
	private Course course;

	public String getStuId() {
		return stuId;
	}

	public void setStuId(String stuId) {
		this.stuId = stuId;
	}

	public String getStuName() {
		return stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	public String getStuGender() {
		return stuGender;
	}

	public void setStuGender(String stuGender) {
		this.stuGender = stuGender;
	}

	public int getStuAge() {
		return stuAge;
	}

	public void setStuAge(int stuAge) {
		this.stuAge = stuAge;
	}

	public String getStuAccount() {
		return stuAccount;
	}

	public void setStuAccount(String stuAccount) {
		this.stuAccount = stuAccount;
	}

	public String getStuPassword() {
		return stuPassword;
	}

	public void setStuPassword(String stuPassword) {
		this.stuPassword = stuPassword;
	}

	public Course getCourse() {
		return course;
	}

	public void setCourse(Course course) {
		this.course = course;
	}

	@Override
	public String toString() {
		return "Student{" +
				"stuId='" + stuId + '\'' +
				", stuName='" + stuName + '\'' +
				", stuGender='" + stuGender + '\'' +
				", stuAge=" + stuAge +
				", stuAccount='" + stuAccount + '\'' +
				", stuPassword='" + stuPassword + '\'' +
				", course=" + course +
				'}';
	}
}
